package app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan(basePackages = {
        "app",
        "tech.yingchuan"
})
@SpringBootApplication
@MapperScan("tech.yingchuan.blogs.mapper")
public class YingChuanBlogsApplication {

    public static void main(String[] args) {
        SpringApplication.run(YingChuanBlogsApplication.class, args);
    }
}
